package cc.rengu.redp.bizimpl.upmp.dao;

import cc.rengu.redp.bizimpl.upmp.domain.BTxnLimitCfg;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

public interface MerchantBaseInfoMapper extends BaseMapper<BTxnLimitCfg> {

  BTxnLimitCfg getMarchantInfoByMcNo(String instId, String mcNo);
    List<BTxnLimitCfg>  getMcQuotaDetail(String notDiffAcctId,String loanId,String creditId,String refundDiffAcctId ,String refundLoanId,String refundCreditId);
    List<BTxnLimitCfg>   getTermQuotaById(String notDiffAcctId, String loanId,String creditId);
    List<BTxnLimitCfg>  queryMcLevelList(String instId,String limitInst,List<String> crtOrgId);
  List<BTxnLimitCfg>   getTermQuotaList(String instId,String limitInst);
  List<BTxnLimitCfg>  getNotAddMCInfo(String instId);
  List<BTxnLimitCfg> getAddTermNoList(String limitInst, String instId, String mcNo,String opp);

}
